package hy.pool;

import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;

public class PoolTest {
    public static void main(String[] args) {
        JedisPool pool=Util.getInstance();
        Jedis j=null;
        try{
        j=pool.getResource();
        j.set("aa","one");
        }finally {
            Util.release(pool,j);
        }
    }
}
